package com.example.demo.auto.entity;

import com.beiding.businessplatform.data.Be;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;

@Entity(name = "B")
@Getter
@Setter
public class BBe implements Be {

    @Id
    private String id;

    private String name;

    @OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
    private CBe c;

}
